from collections import namedtuple

tom = namedtuple('tom', 'a b c')
x = tom(a=1, b=2, c=3)
print(x.a)
